package cn.xqj.org.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.xqj.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Shop extends BaseDomain {
    @Excel(name = "店铺名称",width = 30)
    private String name;
    @Excel(name = "电话",width = 30)
    private String tel;
    @Excel(name = "入驻时间",width = 30,exportFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-mm-dd", timezone = "GMT+8")
    private Date registerTime = new Date();
    @Excel(name = "店铺状态",width = 30)
    private Integer state = 1;
    @Excel(name = "店铺地址",width = 30)
    private String address;
    @Excel(name = "店铺图标",width = 30)
    private String logo;
    @Excel(name = "经理id",width = 30)
    private Long admin_id;
    private Employee employee;
}
